package cn.iocoder.an.module.business.controller.admin.repairrequest.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.an.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.an.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 维修申请分页 Request VO")
@Data
public class RepairRequestPageReqVO extends PageParam {

    @Schema(description = "故障分类id", example = "13506")
    private Long faultId;

    @Schema(description = "设备名称", example = "张三")
    private String equipmentName;

    @Schema(description = "紧急程度")
    private Integer urgency;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    //存ID
    private List<Long> ids = new ArrayList<>();

}